home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / triedrun.zip / TRIEDIT.TXT < prev    next >
Text File  |  1993-03-01  |  7KB  |  160 lines

  1.  
  2. This is a sample application intended to 
  3. facilitate distribution of the runtime module VBDRT10.EXE
  4. with which you may run other Visual Basic for MS-DOS
  5. applications (a la VBRUN200.DLL used with VB Windows).
  6.  
  7.  
  8. This program is freeware, the only "payment" requested
  9. is that you respond with your comments as to what worked/
  10. didn't work, what bugs (if any) you found, and your
  11. comments/suggestions as how to improve this application.
  12.  
  13. You have my express permission to distribute this application
  14. as far and wide as you like, so long as any modified .EXE
  15. files created with the source code are properly identified
  16. and credited to the person doing the modifications.
  17.  
  18. Program Features
  19. 1.Edit up to 3 small documents concurrently.
  20.   (Please note that the text windows in this application
  21.   will not load text exceeding 32K in size.I am working
  22.   on eliminating this limitation.)
  23. 2.Convienent hotkeys for entering Spanish,Portugese and 
  24.   International Currency symbols and characters (such as 
  25.   ¿£¥ñ,etc.) and the much needed ¢ character as well.
  26. 3.Shell to DOS or run DOS program from convienient pick list.
  27.   (Programs to be run should require less than 500K memory)
  28.   Try this trick if you ever need to send a fax that requires
  29.   Spanish or international characters- type up the text on 
  30.   the Notepad, then Save and run the fax program from the
  31.   Run Program list to send it. Much easier than remembering
  32.   ASCII codes.
  33. 4.Special Network features to access network mail, etc.,
  34.   from menu. Specific support for Artisoft Lantastic, 
  35.   however most others should work. Even more specifically, it
  36.   enables use of the Artisoft LANPUP utility without requiring
  37.   it to be loaded memory-resident.
  38. 5.Alarm Clock with free DOS memory display.
  39.  
  40. Things You Need to Know:
  41. 1. Start this program only from the directory in
  42.    which VBDRT10.EXE is stored. Otherwise, when you
  43.    shell to DOS or run another program, you will get
  44.    an error message asking where VBDRT10.EXE is at.
  45.    You can use a batch file to accomplish getting to
  46.    the correct directory if your menu system does not do 
  47.    it automatcally.
  48.    Example, let's call it TRIED.BAT, will do the trick:
  49.    ECHO OFF
  50.    C:
  51.    CD\UTIL
  52.    TRIEDIT
  53.    Some may question the wisdom of making a program
  54.    that requires this module, however the side benefit
  55.    is that it allows about 200K more free memory when
  56.    shelling to DOS than a stand-alone program.
  57.    What's more, numerous programs than require VBDRT10.EXE
  58.    can feed like pirahnas off one copy, thus saving you 
  59.    valuable disk space compared to stand-alone .EXE files.
  60. 2. The Run Program menu as of yet does not accept command-line
  61.    parameters for the programs you wish to run.
  62.    However, it will put you in the correct directory where
  63.    the program is located prior to running it..just in case
  64.    your program is like this one and must be started from
  65.    its home directory. 
  66. 3. Text files containing international symbols will have a
  67.    few errors when imported to a Windows program because
  68.    Windows uses the ANSI rather than the ASCII character
  69.    set, which is slightly different. You can use the 
  70.    Character Map (CHARMAP.EXE) supplied with Windows to
  71.    correct these errors, or there is a freeware utility
  72.    (ASC2ANSI.EXE) which converts a whole file at a time.
  73. 4. Some programs do not like to be run as shelled out from
  74.    another program, particularly certain games. You will
  75.    undoubtedly find out which ones on your own. The only
  76.    answer at this point is to exit the program completely 
  77.    before trying to run these programs rather than running 
  78.    them from the menu.
  79.    Do not attempt to load or run memory-resident programs
  80.    from the Run Program menu or when shelled to DOS.
  81.    Doing so will hang your computer when you try to exit.
  82. 5. The Free Program Memory display indicates the approximate
  83.    amount of free memory available for programs you run
  84.    from the menu. The number includes a "fudge factor"
  85.    to allow for operating-system overhead. Depending on 
  86.    which version of DOS you use and your preference of 
  87.    command processor, you will almost always have 5 or 10K
  88.    more than displayed.
  89. 6. Network Features/Command Line Parameters:
  90.    Command line is:
  91.    TRIEDIT [LAN or NET] [Mail/MessageProgram + Parameters]
  92.    The command line:
  93.    TRIEDIT
  94.    by itself runs TRIEDIT minus the network features.
  95.    The command line:
  96.    TRIEDIT LAN 
  97.    runs Triedit with Artisoft defaults, NET.EXE as your network
  98.    access program and LANPUP in stand-alone mode (not memory
  99.    resident,however, LANPUP will "pop-up" over the screen as if 
  100.    it was memory resident anyway!) as mail/message program.
  101.    If you load LANPUP memory resident prior to running TriEdit,
  102.    using the Send Net Message menu command will usually 
  103.    generate an annoying but harmless error message. 
  104.    The LAN parameter also enables the Display Last Message
  105.    menu item which will retrieve your last pop-up message 
  106.    in case you missed it.
  107.    You can use different network and mail/message programs.
  108.    TRIEDIT looks for the DOS environment variable NETMNU
  109.    and if it finds it will use the one specified in that
  110.    variable instead of NET.EXE,
  111.    for example, put this in your AUTOEXEC.BAT or STARTNET.BAT:
  112.    SET NETMNU=D:\OINKER\OINKNET.EXE
  113.    and TriEdit will invoke OINKNET.EXE instead of NET.EXE.
  114.    You can also use the NETMNU variable to speed up access
  115.    to the NET.EXE program, for example:
  116.    SET NETMNU=D:\LANTASTI\NET.EXE
  117.    will allow TriEdit to locate the program directly rather
  118.    than forcing DOS to run the search path ("PATH" variable)
  119.    looking for it.
  120.    You can use the command line to specify a different mail
  121.    or message program than LANPUP.
  122.    For example:
  123.    TRIEDIT LAN OINKMAIL /parameter1 /parameter2
  124.    and TriEdit will invoke OINKMAIL with /parameter1 and 
  125.    /parameter2 as commandline parameters, instead of LANPUP.
  126.    Using TRIEDIT with the NET parameter (meaning you don't
  127.    have Lantastic) requires a few extra steps.
  128.    It is required for you to set the NETMNU variable or 
  129.    have a program called NETMNU.BAT in your Dos PATH to invoke
  130.    your network interface program. You must also provide
  131.    the name of your Mail or Message program on the command line,
  132.    otherwise the Send Net Message menu item will shell you
  133.    out to the command prompt.
  134.    Probably the best way is to use a batch file to run TRIEDIT,
  135.    let's call it TRIEDNET.BAT, for example:
  136.    ECHO OFF
  137.    C:
  138.    CD\UTIL
  139.    SET NETMNU=G:\OINKNET\OINKNET.EXE
  140.    TRIEDIT NET /OINKMAIL /parameter1 /parameter2
  141.    SET NETMNU=
  142.    The last line releases the environment space used by the
  143.    SET NETMNU=G:\OINKNET\OINKNET.EXE command.
  144.    The Display Last Message menu item will disappear if
  145.    you use the NET commandline parameter.
  146. At some point I will rewrite this program to read/write to a
  147. startup file (aka TRIEDIT.INI) and eliminate all this
  148. commandline nonsense.There's still a little work to be done
  149. but overall it works pretty well.
  150.  
  151. ¡Adios!
  152.    
  153. Ned Carlson (Compuserve 70524,1605)
  154. Triode Electronics (worldwide electron tube distributors)
  155. Box 578751, Chicago, IL 60657 USA
  156. Fax 312-871-7938 Phone 312-871-7459
  157.  
  158.  
  159.  
  160.